Properties

Name Returns Notes Example
allLocales List

Methods

Name Returns Notes Example
hasOrgType ( orgTypeName, org ) boolean
findOrg ( orgId ) Organisation
findOrg ( id ) Organisation
createOrg ( parent, orgId, orgTitle ) Organisation Creates the new org as a child of the given parent (if not null, otherwise creates directly under the current account org), and submits for reindexing
updateOrg ( org ) void Just saves and submits for reindexing
deleteOrg ( org ) void Does a soft delete, and updates search index
findDuplicates ( mode ) List
mergeOrgs ( mergeDestId, mergeOrgIds ) int Returns the number deleted
addOrgType ( org, orgType ) void
removeOrgType ( org, orgType ) void
getOrgType ( name ) OrgType
save ( orgToEdit ) void
newOrgMatchRequest ( ) OrgMatchRequest
findMatching ( request ) List